package com.jiahao.service.impl;

import com.jiahao.service.ICheckUserService;
import com.jiahao.dao.CheckUserDao;
import com.jiahao.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Map;

@Service
public class CheckUserServiceImpl implements ICheckUserService {


    @Resource
    private CheckUserDao checkUserDao;


    @Override
    public User selectUserByToken(@Param("token") String token) {
        return checkUserDao.selectUserByToken(token);
    }

}
